package com.sqlcheck.dto.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotBlank;

@Data
@Schema(description = "SQL验证请求")
public class ValidateSqlRequest {

    @NotBlank(message = "SQL内容不能为空")
    @Schema(description = "SQL内容", required = true)
    private String sqlContent;

    @NotBlank(message = "数据库类型不能为空")
    @Schema(description = "数据库类型", required = true)
    private String dbType;
}